package com.zk.yygh.hosp;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author: 张凯
 * @date: 2022/5/11 - 18:48
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.zk")     //swagger2配置扫描
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.zk")    //不同的模块容易找不到，设置包扫描
public class ServiceHospApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceHospApplication.class,args);
    }
}
